using ProtoBuf;

namespace Core;

[ProtoContract]
[CommandKey(CommandKey.Register)]
public sealed class RegisterPacket : PlayPacketWithIdentifier
{
    [ProtoMember(1)] public override ushort Identifier { get; set; }

    [ProtoMember(2)] public string Username { get; set; } = null!;

    [ProtoMember(3)] public string Password { get; set; } = null!;

    [ProtoMember(4)] public string Email { get; set; } = null!;
}